package com.xxl.job.executor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author WangYueBan
 * @since 2025-04-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("TB_User")
public class TbUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "JID", type = IdType.AUTO)
    private Integer jid;

    @TableField("StrUserID")
    private String struserid;

    private String password;

    @TableField("Status")
    private Integer status;

    @TableField("GMrank")
    private Integer gmrank;

    @TableField("Name")
    private String name;

    @TableField("Email")
    private String email;

    private String sex;

    private String certificateNum;

    private String address;

    private String postcode;

    private String phone;

    private String mobile;

    private LocalDateTime regtime;

    private String regIp;

    @TableField("Time_log")
    private LocalDateTime timeLog;

    private Integer freetime;

    private Integer secPrimary;

    private Integer secContent;

    @TableField("AccPlayTime")
    private Integer accplaytime;

    @TableField("LatestUpdateTime_ToPlayTime")
    private Integer latestupdatetimeToplaytime;

    @TableField("OnlineTime")
    private Integer onlinetime;

    @TableField(exist = false)
    private String code;

}
